<!--{template common/header}-->
<div id="pt" class="bm cl">	
	<div class="z">
		<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>&rsaquo;</em>
		<a href="plugin.php?id=dzapp_base">{lang dzapp_base:base}</a> <em>&rsaquo;</em>
		<a href="plugin.php?id=dzapp_base&mod=basecp">{lang dzapp_shop:shopcp}</a> <em>&rsaquo;</em>
		{lang dzapp_base:setting}
	</div>
</div>
<div id="ct" class="ct2_a wp cl">
	<div class="mn">
		<div class="bm bw0">
			<ul class="tb mbm cl">
				<li class="a"><a href="plugin.php?id=dzapp_base&mod=basecp&ac=setting">{lang dzapp_base:setting}</a></li>
			</ul>
			<form name="jssdkform" method="post" autocomplete="off" action="plugin.php?id=dzapp_base&mod=basecp&ac=setting" onsubmit="return validate(this)">
				<input type="hidden" name="formhash" value="{FORMHASH}" />
				<input type="hidden" name="settingsubmit" value="true" />
				<p class="tbmu xw1">{lang dzapp_base:pay}</p>
				<table cellspacing="0" cellpadding="0" class="tfm">
					<tr>
						<th><label for="pay_color">{lang dzapp_base:pay_color}</label></th>
						<td><input type="text" name="setting[dzapp_base_pay_color]" id="pay_color_color" class="px" value="$_G[setting][dzapp_base_pay_color]" /></td>
					</tr>
					<tr>
						<th><label for="currency">{lang dzapp_base:currency}</label></th>
						<td><input type="text" name="setting[dzapp_base_currency]" id="currency" class="px" value="$_G[setting][dzapp_base_currency]" /></td>
					</tr>
				</table>
				<p class="tbmu xw1">{lang dzapp_base:account}</p>
				<table cellspacing="0" cellpadding="0" class="tfm">
					<tr>
						<th><label for="unbind">{lang dzapp_base:unbind}</label></th>
						<td>
							<input type="radio" name="setting[dzapp_base_unbind]" id="unbind_1" class="pr" value="1"{if $_G[setting][dzapp_base_unbind] == 1} checked="checked"{/if} /><label for="unbind_1">{lang dzapp_base:yes}</label>
							<input type="radio" name="setting[dzapp_base_unbind]" id="unbind_0" class="pr" value="0"{if $_G[setting][dzapp_base_unbind] == 0} checked="checked"{/if} /><label for="unbind_0">{lang dzapp_base:no}</label>
						</td>
					</tr>
				</table>
				<p class="tbmu xw1">{lang dzapp_base:editor}</p>
				<table cellspacing="0" cellpadding="0" class="tfm">
					<tr>
						<th><label for="thumb_width">{lang dzapp_base:thumb_width}</label></th>
						<td><input type="text" name="setting[dzapp_base_thumb_width]" id="thumb_width" class="px" value="$_G[setting][dzapp_base_thumb_width]" /></td>
					</tr>
					<tr>
						<th><label for="watermark">{lang dzapp_base:watermark}</label></th>
						<td>
							<input type="radio" name="setting[dzapp_base_watermark]" id="watermark_1" class="pr" value="1"{if $_G[setting][dzapp_base_watermark] == 1} checked="checked"{/if} /><label for="watermark_1">{lang dzapp_base:yes}</label>
							<input type="radio" name="setting[dzapp_base_watermark]" id="watermark_0" class="pr" value="0"{if $_G[setting][dzapp_base_watermark] == 0} checked="checked"{/if} /><label for="watermark_0">{lang dzapp_base:no}</label>
						</td>
					</tr>
				</table>
				<p class="tbmu xw1">{lang dzapp_base:jssdk}</p>
				<table cellspacing="0" cellpadding="0" class="tfm">
					<tr>
						<th><label for="appid">{lang dzapp_base:appid}</label></th>
						<td><input type="text" name="setting[dzapp_base_appid]" id="appid" class="px" value="$_G[setting][dzapp_base_appid]" /></td>
					</tr>
					<tr>
						<th><label for="appsecret">{lang dzapp_base:appsecret}</label></th>
						<td><input type="text" name="setting[dzapp_base_appsecret]" id="appsecret" class="px" value="$_G[setting][dzapp_base_appsecret]" /></td>
					</tr>
					<tr>
						<th><label for="debug">{lang dzapp_base:debug}</label></th>
						<td>
							<input type="radio" name="setting[dzapp_base_debug]" id="debug_1" class="pr" value="1"{if $_G[setting][dzapp_base_debug] == 1} checked="checked"{/if} /><label for="debug_1">{lang dzapp_base:yes}</label>
							<input type="radio" name="setting[dzapp_base_debug]" id="debug_0" class="pr" value="0"{if $_G[setting][dzapp_base_debug] == 0} checked="checked"{/if} /><label for="debug_0">{lang dzapp_base:no}</label>
						</td>
					</tr>
				</table>
				<p class="tbmu xw1">{lang dzapp_base:qrcode}</p>
				<table cellspacing="0" cellpadding="0" class="tfm">
					<tr>
						<th><label for="qrcode_size">{lang dzapp_base:qrcode_size}</label></th>
						<td><input type="text" name="setting[dzapp_base_qrcode_size]" id="size" class="px" value="$_G[setting][dzapp_base_qrcode_size]" /></td>
					</tr>
					<tr>
						<th><label for="qrcode_level">{lang dzapp_base:qrcode_level}</label></th>
						<td>
							<select name="setting[dzapp_base_qrcode_level]" id="qrcode_level" class="ps">
								<option value="1"{if $_G[setting][dzapp_base_qrcode_level] == 1} selected="selected"{/if}>{lang dzapp_base:level_1}</option>
								<option value="2"{if $_G[setting][dzapp_base_qrcode_level] == 2} selected="selected"{/if}>{lang dzapp_base:level_2}</option>
								<option value="3"{if $_G[setting][dzapp_base_qrcode_level] == 3} selected="selected"{/if}>{lang dzapp_base:level_3}</option>
								<option value="4"{if $_G[setting][dzapp_base_qrcode_level] == 4} selected="selected"{/if}>{lang dzapp_base:level_4}</option>
							</select>
						</td>
					</tr>
					<tr>
						<th></th>
						<td><button type="submit" class="pn pnp"><strong>{lang submit}</strong></button></td>
					</tr>
				</table>
			</form>
			<script type="text/javascript">
			function validate(theform) {

			}
			</script>
		</div>
	</div>
	<div class="appl">
		<!--{subtemplate dzapp_base:basecp_nav}-->
	</div>
</div>
<!--{template common/footer}-->